package com.erp.auto.controller;

import com.erp.auto.service.ErpQueryProductInfoService;
import com.ruoyi.common.core.domain.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 获取店铺商品信息
 */
@RestController
@RequestMapping("/pulishProduct/productInfo")
public class ErpQueryProductInfoController {

    
    @Resource
    ErpQueryProductInfoService erpQueryProductInfoService;

    @GetMapping("/getAllAutoProjectByStoreId")
    public R<Object> getAllAutoProjectByStoreId(Long storeId,
                                                String projectName,
                                                String type,
                                                Integer status
    ) {

//        PageHelper.startPage(pageNum, pageSize);
        return erpQueryProductInfoService.getAllAutoProjectByStoreId(storeId, projectName, type, status);
    }


}
